home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / The World of Computer Software.iso / xntp3.zip / README.hpux < prev    next >
Text File  |  1992-08-29  |  3KB  |  79 lines

  1. This file hopefully describes the whatever and however of how to get xntp
  2. running on hpux 8.0 and later s300, s700, and s800.  
  3.  
  4. First off,  all the standard disclaimers hold here ... HP doesn't have anthing
  5. to do with this stuff.  I fool with it in my spare time because we use it and
  6. because I like to.  We just happen to have a lot of HP machines around here :-)
  7. Xntp has been in use here for several months and has a fair amount of mileage
  8. on various HP platforms within the company.  I can't really guarantee bug fixes
  9. but I'd certainly like to hear about bugs and I won't hestitate to look at
  10. any fixes sent to me.  
  11.  
  12. Now lets talk OS.  If you don't have 8.0 or later, pretty much hang it up now.
  13. This stuff has run here on 8.0 s300, s700, and s800.  Its possible that it 
  14. runs on 7.0 but I have not tried v3 code on 7.0 at all.
  15.  
  16. Next, let me explain a bit about how this stuff works on HP-UX since we don't
  17. have adjtime(2).  The directory adjtime contains libadjtime.a and the adjtimed
  18. daemon.  Instead of the adjtime(2) system call, we use a library routine to
  19. talk to adjtimed thru message queues.  Adjtimed munges into /dev/kmem and
  20. causes the clock to skew properly as needed.
  21.  
  22. What to do to get this stuff running ?
  23.  
  24.     * cd ..
  25.     * Make a Config file based on Config.hpux, you need to pick which OS
  26.       you are running ... all I have tested right now is 8.X.  Support
  27.       for PPS/PPSDEV using RS232 is there but untested and reccomended
  28.       for the very brave only. PST, LOCAL, and WWVB clocks should work.
  29.     * Say "make makefiles"
  30.  
  31.     * cd into adjtime 
  32.     * Say "make", should be quick.
  33.  
  34.     * cd ..
  35.     * Say "make", sit back for a few minutes.
  36.  
  37.     * cd authstuff
  38.     * Say "./authcert < certdata" and check the output.  Every line should
  39.       end with "OK" ... if not, we got trouble.
  40.     * Now try "./authspeed auth.samplekeys".  What we want to 
  41.       remember here is the "authentication delay in CPU time" 
  42.  
  43.     * cd ..
  44.     * Now we need to install this stuff ... make install will not work
  45.       unless you have replaced the SYSV install command with a BSD
  46.       compatible version.  So ... the simplest thing to do is run
  47.       make -n install and do manually what it would have done.
  48.  
  49.     * I'd suggest reading the xntp docs about now :-) ... seriously !!
  50.  
  51.     * Check out the docs and the stuff in xntp/conf and build a config
  52.       file ... put it in /usr/local/etc/xntp.conf (or where ever you
  53.       defined the config file to be in Config).  One thing we have 
  54.       added to this version of xntpd is a way to select config files
  55.       if you are sharing /usr/local thru NFS or whatever.  If the 
  56.       file /usr/local/etc/xntp.conf happens to be a directory, the files
  57.       in that directory are searched until a match is found.  The rules
  58.       for a match are:
  59.  
  60.     1. Our hostname
  61.     2. default.<machine id> (as in default.375 or default.850)
  62.     3. default
  63.  
  64.     * Ok, make sure adjtimed is running (just start it up for now with
  65.       "/usr/local/etc/adjtimed").  Using -z as an option will get you 
  66.       a usage message.
  67.  
  68.     * Now start up xntpd and watch it work.
  69.  
  70.     * Make sure that adjtimed gets started at boot right before xntpd.
  71.       We do this in /etc/netbsdsrc.  They must both run as root !!
  72.  
  73. Possible problems ?
  74.  
  75.     * On some 320's and 835's we have had to run adjtimed with "-p 45" or
  76.       so to get rid of syslog messages about "last adjust did not finish".
  77.  
  78. Anything else ... just drop me a line at ken@sdd.hp.com
  79.